using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
using CommonTools;

namespace shop.Model
{

	
	public partial class JSupplier : IFastTree
	{
		[Column(IsIgnore =true)]
		public string NodeText => this.Code + " " + this.Name;


		[Column(IsPrimary = true, IsIdentity = true)]
		public int ID { get; set; }

		/// <summary> 代码 </summary>
		[VarChar(20)]
		public string Code { get; set; }


		/// <summary> 全称 </summary>
		[Column(StringLength = 100)]
		public string Name { get; set; } = "";


		/// <summary> 供应商简称 </summary>
		[Column(StringLength = 100)]
		public string ShortName { get; set; } = "";


		/// <summary> 银行 </summary>
		[Column(StringLength = 30)]
		public string Bank { get; set; } = "";

		/// <summary> 银行账号 </summary>
		[Column(StringLength = 50)]
		public string BankAccount { get; set; } = "";

		/// <summary> 制单人 </summary>
		[Column(StringLength =30)]
		public string Biller { get; set; }

		/// <summary> 制单日期 </summary>
		public DateTime? BillerDate { get; set; }

		/// <summary> 负责采购员 </summary>
		[Column(StringLength =30)]
		public string Buyer { get; set; } = "";


		[VarChar(30)]
		public string BuyerID { get; set; } = "";

		/// <summary> 手机1 </summary>
		[Column(StringLength =30)]
		public string Cellphones1 { get; set; } = "";

		/// <summary> 手机2 </summary>
		[Column(StringLength =30)]
		public string Cellphones2 { get; set; } = "";

		/// <summary> 手机3 </summary>
		[Column(StringLength =30)]
		public string Cellphones3 { get; set; } = "";

		/// <summary> 审核人 </summary>
		[Column(StringLength =30)]
		public string Checker { get; set; } = "";

		/// <summary> 城市 </summary>
		[Column(StringLength = 100)]
		public string City { get; set; } = "";


		/// <summary> 联系人 </summary>
		[Column(StringLength = 30)]
		public string Contact { get; set; } = "";

		/// <summary> 国家 </summary>
		[Column(StringLength = 100)]
		public string Country { get; set; } = "";

		/// <summary> 地址 </summary>
		[Column(StringLength = 100)]
		public string FAddress { get; set; } = "";

		/// <summary> 传真 </summary>
		[Column(StringLength =30)]
		public string Fax { get; set; } = "";

		/// <summary> 是否审核：0=未审核，1=已审核 </summary>
		public bool? IsCheck { get; set; } = false;

		/// <summary> 是否禁用 </summary>
		public bool? Isdel { get; set; } = false;

		/// <summary> 是否明细 </summary>
		public bool? IsDetails { get; set; } = false;


		/// <summary> 座机 </summary>
		[VarChar(30)]
		public string Phone { get; set; } = "";

		/// <summary> 省份 </summary>
		[Column(StringLength = 100)]
		public string Province { get; set; } = "";


		/// <summary> 助记码 </summary>
		[VarChar(50)]
		public string ShortNumber { get; set; } = "";

	}

}
